package io.github.wslxm.springbootplus2.manage.test.model.query;

import io.github.wslxm.springbootplus2.core.base.model.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;

/**
 * base--gc--代码生成测试表 Query
 *
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>

 * @author ws
 * @email 1720696548@qq.com
 * @date 2023-08-28 14:43:41
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "GcTestQuery 对象", description = "base--gc--代码生成测试表")
public class GcTestQuery extends BaseQuery {

    private static final long serialVersionUID = -1696050906464415744L;
    
    @ApiModelProperty(value = "名称 " )
    @Length(min=0, max=64)
    private String name;

    @ApiModelProperty(value = "年龄 " )
    @DecimalMin(value="0")
    @DecimalMax(value="9999999999.99")
    private Double age;

    @ApiModelProperty(value = "禁用 " )
    @Range(min=0L, max=9L)
    private Integer disable;

    @ApiModelProperty(value = "时间 " )
    private String time;

}

